home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
prog
/
pcxtpi.arj
/
READPCXH.DOC
< prev
next >
Wrap
Text File
|
1992-12-29
|
4KB
|
98 lines
READPCXH.DOC -- Copyright 1992 Bob Hayes. All Rights Reserved.
PROGRAM NAME: READPCXH
VERSION: 2.0
RELEASE DATE: 12-29-92
PURPOSE: To read and display the information in the header
of a PCX file.
REQUIREMENTS: none.
USE: READPCXH FILENAME [/C]
where: FILENAME is the PCX file, the extension
is required. The file must be in the
current directory.
/C is the flag to display the color map
contained in the file.
READPCXH will read and display the contents of the 128 byte header
at the beginning of each PCX file.
The following information is displayed:
Manufacturer : This will always be 10 for a valid PCX file.
Version : 0-2 = old PCX w/o palette;
3 = no palette information;
4 = PC Paintbrush for Windows w/o palette;
5 = palette information included.
Encoding : 1 = PCX run length encoding
Bits per Pixel : 1 = black and white;
4 = 16 color;
8 = 256 color.
Xmin : Image window dimensions (inclusive)
Ymin : Xmin and Ymin are usually 0.
Xmax :
Ymax :
Horizontal Resolution : Resolution of the image in dots per inch
(DPI).
Vertical Resolution : Some programs use the screen resolution, some
the printer resolution, and other set these
values to a scanners resolution.
Reserved : This used to contain the video mode, now it is ignored and
should be set to zero.
Number of Color Planes : 1 = black and white and 256 color;
4 = 16 color.
Bytes per Scan Line : Number of byte to allocate for a scan line,
always even.
Palette info : 1 = black and white or color;
2 = grayscale;
Many programs ignore this item.
Horizontal Screen Size in Pixels : Many programs ignore this item.
Vertical Screen Size in Pixels : Many programs ignore this item.
READPCXH uses standard output so that the information can be redirected to
a file or a printer.
INSTALLATION
Copy READPCXH.EXE to a directory on your hard drive that is on you path.
LICENSE AGREEMENT
This copyrighted program is being distributed as freeware. You are free
(and encouraged) to copy this program and distribute it to anyone, as long
as no fee, other than a nominal fee for the disk and shipping/handling, is
charged for the program, and as long as this documentation file accompanies
the program.
TRADEMARKS
Any product names mentioned are trademarks or registered trademarks of
their respective holders.
WARRANTY AND LEGAL NOTICES
READPCXH is provided AS IS without any warranty, expressed or implied,
including, without limitation, implied warranties of merchantability and
fitness for a particular purpose. Any use by you of the software is at your
own risk. In no event shall the author be liable for any damages whatsoever
(including, without limitation, damages for loss of business profits, business
interruption, loss of business information, or other pecuniary loss) arising
out of the use or inability to use this product.
The author is in no way affiliated with ZSoft Corporation.
If you have any questions or comments about the program, please send
them to:
Bob Hayes
Bob's Software
10104 Blue Tee Terr.
Gaithersburg, MD 20879
or, on CompuServe at 71224,3202.
Thanks,
Bob Hayes